﻿
<style type="text/css">
    li {
        list-style: none; 
    }
</style>
<div class="navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-inner">
        <div class="container-fluid">
            <a data-target=".nav-collapse" data-toggle="collapse" class="btn btn-navbar">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </a>
            <a href="#" class="brand">Project name</a>
            <div class="nav-collapse collapse">

                <ul class="nav">
                    <li class="active">@Html.ActionLink("Home", "Index", "Home")</li>
                    <li>@Html.ActionLink("Quem Somos", "Index", "Home")</li>
                    <li><a href="#contact">Contato</a></li>
                </ul>
                <ul class="log">
                    <li class="navbar-text pull-right">
                        <!--Url.Action - chamo a index da Area Adm -->
                    @if (Request.IsAuthenticated){
                        <span>Olá @Html.Encode(User.Identity.Name)</span> @Html.ActionLink("LogOut", "Logon", "Autenticacao")
                    }
                    else{
@*                    @Html.ActionLink("Register", "Register", "User")*@
@*                    <span> | </span>*@
                      @Html.ActionLink("Login","Login","Autenticacao")
                    }
                    </li>
                </ul>
            </div>
            <!--/.nav-collapse -->
        </div>
    </div>
</div>
